<?php

namespace app\data\model;

use think\admin\Model;


class StoreOrderGoods extends Model
{
    protected $table = "store_order_goods";

    public function order(){
        return $this->belongsTo(storeOrder::class,'order_id');
    }


    public function user(){
        return $this->belongsTo(DataUser::class,'uid');
    }


    public function goods(){
        return $this->belongsTo(StoreGoods::class,'goods_id');
    }

   
}